package com.diankangwo.factory.dao;

import com.diankangwo.factory.entity.TdProperty;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TdPropertyMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(TdProperty record);

    int insertSelective(TdProperty record);

    TdProperty selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TdProperty record);

    int updateByPrimaryKey(TdProperty record);

    /**
     * 根据商品ID查询属性
     */
    List<TdProperty> queryByComid(int comId);


}